from flask import request, Blueprint, render_template

root = Blueprint('root', __name__)


@root.route('/', methods=['GET', 'POST'])
def get_users():
    if request.method == 'POST':
        return "不支持POST方法"
    else:
        return render_template('index.html')